﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JXCModel;
namespace JXCDAL
{
    public class AuthorityDAL : BaseDAL<Sys_Role_Menu>
    {
        public List<Sys_Role_Menu> GetMenuList(int pid, int roleId)
        {
            List<Sys_Role_Menu> list = this.Where(p => p.Sys_Menu.pid == pid && p.Role_Id == roleId).ToList();
            return list;
        }
    }
}
